// entity_explosive

local entity_explosive = Assault.Entities:New("entity_explosive")

// Derive from entity

entity_explosive:DeriveFromEntity("entity_physics")

// On entity created

function entity_explosive:OnEntitySpawn()
	self:EntitySetHealth(25)
end

// On entity break

function entity_explosive:OnEntityDestroy(Damage)
	self:EntityExplode()
	
	// Return false
	
	return false
end

// Create

entity_explosive:Create()